﻿using ComicQ.Domain.Table;
using FluentNHibernate.Mapping;

namespace ComicQ.Domain.Mapping
{
    sealed class OrderDetailMap : ClassMap<OrderDetail>
    {
        public OrderDetailMap()
        {
            Id(x => x.Id);
            References(x => x.Order).Cascade.None();
            References(x => x.Comic).Cascade.None();
            References(x => x.OrderDetailStatus).Cascade.None();
        }
    }
}
